/**
 * Created by ls.c on 2016/11/3.
 */

//  获取底部激活信息
export const fetchBarActive = ({commit}, names) => {
  commit('FETCH_BAR_ACTIVE', names)
}
//  获取token
export const fetchToken = ({commit}, names) => {
  commit('FETCH_TOKEN', names)
}
//  获取会员ID（患者ID）
export const fetchMid = ({commit}, names) => {
  commit('FETCH_MID', names)
}
//  获取会员个人信息
export const fetchMeInfo = ({commit}, names) => {
  commit('FETCH_ME_INFO', names)
}
// 获取积分信息
export const fetchPointsData = ({commit}, names) => {
  commit('FETCH_POINTS_DATA', names)
}
// 首页底部红点
export const fetchHomeUnread = ({commit}, names) => {
  commit('FETCH_HOME_UNREAD', names)
}
// 问医底部红点
export const fetchSeekUnread = ({commit}, names) => {
  commit('FETCH_SEEK_UNREAD', names)
}
// 个人中心底部红点
export const fetchMeUnread = ({commit}, names) => {
  commit('FETCH_ME_UNREAD', names)
}
// TAB红点
export const fetchTabUnread = ({commit}, names) => {
  commit('FETCH_TAB_UNREAD', names)
}
// 消息相关
export const fetchMsgInfo = ({commit}, names) => {
  commit('FETCH_MSG_INFO', names)
}





























